<?xml version="1.0" ?>
<map height="15" tileheight="32" tileset="tiles/kimen" tilewidth="64" width="30">
<layer z="0">
<tiles>
    0 1 0 1 0 2 0 3 0 0    0 3 0 2 0 2 0 3 0 0    0 3 0 2 0 2 0 1 0 0    0 1 0 2 0 2 0 3 0 0    0 3 0 2 0 2 0 1 0 0    0 1 0 2 0 3 0 3 0 0    0 3 0 3 0 2 0 1 0 0    0 1 0 2 0 2 0 3 0 0    0 3 0 2 0 1 0 1 0 0    0 1 0 1 0 2 0 3 0 0    0 3 0 2 0 2 0 3 0 0    0 3 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 3 0 0    0 3 0 2 0 2 0 3 0 0    0 3 0 2 0 1 0 3 0 0    0 3 0 1 0 2 0 3 0 0    0 3 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 1 0 2 0 0    0 2 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 3 0 3 0 0    0 3 0 3 0 1 0 3 0 0    0 3 0 1 0 3 0 3 0 0    
    0 1 0 1 0 2 0 2 0 0    0 2 0 2 0 3 0 2 0 0    0 2 0 3 0 3 0 2 0 0    0 2 0 3 0 1 0 2 0 0    0 2 0 1 0 1 0 2 0 0    0 2 0 1 0 3 0 3 0 0    0 3 0 3 0 3 0 2 0 0    0 2 0 3 0 3 0 2 0 0    0 2 0 3 0 3 0 1 0 0    0 1 0 3 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 3 0 2 0 0    0 2 0 3 0 1 0 2 0 0    0 2 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 2 0 0    0 2 0 1 0 1 0 2 0 0    0 2 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 2 0 0    0 2 0 1 0 1 0 2 0 0    0 2 0 1 0 1 0 2 0 0    0 2 0 1 0 2 0 2 0 0    0 2 0 2 0 1 0 2 0 0    0 2 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 3 0 2 0 0    0 2 0 3 0 3 0 3 0 0    0 3 0 3 0 3 0 1 0 0    0 1 0 3 0 3 0 3 0 0    
    0 1 0 1 0 1 0 2 0 0    0 2 0 1 0 2 0 3 0 0    0 3 0 2 0 2 0 3 0 0    0 3 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    0 1 0 1 0 3 0 3 0 0    0 3 0 3 0 1 0 3 0 0    0 3 0 1 0 3 0 3 0 0    0 3 0 3 0 2 0 3 0 0    0 3 0 2 0 2 0 2 0 0    0 2 0 2 0 3 0 2 0 0    0 2 0 3 0 2 0 3 0 0    0 3 0 2 0 1 0 1 0 0    0 1 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 2 0 1 0 0    0 1 0 2 0 2 0 2 0 0    0 2 0 2 0 3 0 2 0 0    0 2 0 3 0 3 0 1 0 0    0 1 0 3 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 2 0 0    0 2 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 2 0 0    0 2 0 1 0 1 0 2 0 0    0 2 0 1 0 1 0 3 0 0    0 3 0 1 0 3 0 3 0 0    0 3 0 3 0 3 0 3 0 0    0 3 0 3 0 1 0 3 0 0    
    0 1 0 1 0 4 0 1 0 0    0 1 0 4 0 1 0 2 0 0    0 2 0 1 0 1 0 2 0 0    0 2 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 3 0 0    0 3 0 1 0 3 0 1 0 0    0 1 0 3 0 3 0 3 0 0    0 3 0 3 0 1 0 2 0 0    0 2 0 1 0 1 0 2 0 0    0 2 0 1 0 1 0 3 0 0    0 3 0 1 0 1 0 2 0 0    0 2 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 2 0 0    0 2 0 1 0 3 0 2 0 0    0 2 0 3 0 1 0 2 0 0    0 2 0 1 0 2 0 2 0 0    0 2 0 2 0 3 0 2 0 0    0 2 0 3 0 1 0 3 0 0    0 3 0 1 0 1 0 3 0 0    0 3 0 1 0 4 0 1 0 0    0 1 0 4 0 4 0 1 0 0    0 1 0 4 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 3 0 1 0 0    0 1 0 3 0 1 0 1 0 0    0 1 0 1 0 1 0 3 0 0    0 3 0 1 0 1 0 3 0 0    0 3 0 1 0 1 0 1 0 0    
    0 1 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 1 0 0    0 1 0 4 0 1 0 1 0 0    0 1 0 1 0 1 0 2 0 0    0 2 0 1 0 2 0 2 0 0    0 2 0 2 0 1 0 1 0 0    0 1 0 1 0 1 0 3 0 0    0 3 0 1 0 1 0 3 0 0    0 3 0 1 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    0 1 0 1 0 2 0 1 0 0    0 1 0 2 0 4 0 1 0 0    0 1 0 4 0 1 0 1 0 0    0 1 0 1 0 4 0 1 0 0    0 1 0 4 0 3 0 3 0 0    0 3 0 3 0 1 0 1 0 0    0 1 0 1 0 1 0 2 0 0    0 2 0 1 0 3 0 3 0 0    0 3 0 3 0 3 0 1 0 0    0 1 0 3 0 1 0 1 0 0    0 1 0 1 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 1 0 0    0 1 0 4 0 1 0 1 0 0    0 1 0 1 0 1 0 3 0 0    0 3 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    
    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 1 0 0    0 1 0 4 0 1 0 2 0 0    0 2 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 4 0 1 0 0    0 1 0 4 0 4 0 2 0 0    0 2 0 4 0 2 0 1 0 0    0 1 0 2 0 4 0 2 0 0    0 2 0 4 0 2 0 4 0 0    0 4 0 2 0 4 0 1 0 0    0 1 0 4 0 2 0 4 0 0    0 4 0 2 0 4 0 3 0 0    0 3 0 4 0 3 0 1 0 0    0 1 0 3 0 1 0 1 0 0    0 1 0 1 0 1 0 3 0 0    0 3 0 1 0 1 0 3 0 0    0 3 0 1 0 1 0 1 0 0    0 1 0 1 0 4 0 4 0 0    0 4 0 4 0 1 0 4 0 0    0 4 0 1 0 1 0 4 0 0    0 4 0 1 0 4 0 4 0 0    0 4 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 1 0 0    0 1 0 4 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    
    0 4 0 1 0 1 0 4 0 0    0 4 0 1 0 1 0 4 0 0    0 4 0 1 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 1 0 0    0 1 0 4 0 1 0 1 0 0    0 1 0 1 0 4 0 1 0 0    0 1 0 4 0 1 0 4 0 0    0 4 0 1 0 4 0 4 0 0    0 4 0 4 0 2 0 2 0 0    0 2 0 2 0 1 0 4 0 0    0 4 0 1 0 3 0 2 0 0    0 2 0 3 0 3 0 4 0 0    0 4 0 3 0 1 0 2 0 0    0 2 0 1 0 2 0 4 0 0    0 4 0 2 0 2 0 3 0 0    0 3 0 2 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 4 0 4 0 0    0 4 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 1 0 0    
    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 4 0 0    0 4 0 1 0 1 0 4 0 0    0 4 0 1 0 4 0 4 0 0    0 4 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 4 0 0    0 4 0 4 0 1 0 1 0 0    0 1 0 1 0 2 0 4 0 0    0 4 0 2 0 1 0 2 0 0    0 2 0 1 0 1 0 1 0 0    0 1 0 1 0 2 0 3 0 0    0 3 0 2 0 3 0 3 0 0    0 3 0 3 0 3 0 1 0 0    0 1 0 3 0 3 0 2 0 0    0 2 0 3 0 2 0 2 0 0    0 2 0 2 0 1 0 1 0 0    0 1 0 1 0 4 0 1 0 0    0 1 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 1 0 0    0 1 0 4 0 1 0 4 0 0    0 4 0 1 0 4 0 4 0 0    0 4 0 4 0 1 0 4 0 0    0 4 0 1 0 1 0 4 0 0    0 4 0 1 0 1 0 4 0 0    0 4 0 1 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    
    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 4 0 0    0 4 0 1 0 1 0 4 0 0    0 4 0 1 0 1 0 4 0 0    0 4 0 1 0 1 0 1 0 0    0 1 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    0 1 0 1 0 1 0 2 0 0    0 2 0 1 0 2 0 3 0 0    0 3 0 2 0 2 0 3 0 0    0 3 0 2 0 1 0 3 0 0    0 3 0 1 0 4 0 2 0 0    0 2 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    0 4 0 4 0 4 0 1 0 0    0 1 0 4 0 4 0 4 0 0    0 4 0 4 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 4 0 0    0 4 0 1 0 1 0 4 0 0    0 4 0 1 0 1 0 4 0 0    0 4 0 1 0 4 0 4 0 0    0 4 0 4 0 4 0 4 0 0    
    0 1 0 3 0 3 0 1 0 0    0 1 0 3 0 3 0 1 0 0    0 1 0 3 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 2 0 1 0 0    0 1 0 2 0 3 0 1 0 0    0 1 0 3 0 2 0 1 0 0    0 1 0 2 0 3 0 1 0 0    0 1 0 3 0 1 0 2 0 0    0 2 0 1 0 1 0 2 0 0    0 2 0 1 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    0 1 0 1 0 2 0 2 0 0    0 2 0 2 0 4 0 2 0 0    0 2 0 4 0 4 0 1 0 0    0 1 0 4 0 1 0 4 0 0    0 4 0 1 0 1 0 4 0 0    0 4 0 1 0 4 0 4 0 0    0 4 0 4 0 1 0 4 0 0    0 4 0 1 0 1 0 4 0 0    0 4 0 1 0 4 0 4 0 0    0 4 0 4 0 1 0 4 0 0    0 4 0 1 0 2 0 1 0 0    0 1 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 4 0 0    0 4 0 1 0 1 0 4 0 0    
    0 3 0 1 0 3 0 3 0 0    0 3 0 3 0 2 0 3 0 0    0 3 0 2 0 2 0 1 0 0    0 1 0 2 0 2 0 1 0 0    0 1 0 2 0 3 0 2 0 0    0 2 0 3 0 1 0 3 0 0    0 3 0 1 0 1 0 2 0 0    0 2 0 1 0 3 0 3 0 0    0 3 0 3 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    0 1 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 2 0 2 0 0    0 2 0 2 0 1 0 4 0 0    0 4 0 1 0 1 0 4 0 0    0 4 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 4 0 0    0 4 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 4 0 0    0 4 0 1 0 1 0 1 0 0    0 1 0 1 0 2 0 2 0 0    0 2 0 2 0 3 0 2 0 0    0 2 0 3 0 1 0 1 0 0    0 1 0 1 0 2 0 1 0 0    0 1 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    
    0 1 0 1 0 1 0 3 0 0    0 3 0 1 0 2 0 2 0 0    0 2 0 2 0 1 0 2 0 0    0 2 0 1 0 3 0 2 0 0    0 2 0 3 0 2 0 3 0 0    0 3 0 2 0 2 0 1 0 0    0 1 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 3 0 0    0 3 0 1 0 3 0 2 0 0    0 2 0 3 0 3 0 1 0 0    0 1 0 3 0 1 0 2 0 0    0 2 0 1 0 1 0 2 0 0    0 2 0 1 0 1 0 2 0 0    0 2 0 1 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 3 0 1 0 0    0 1 0 3 0 3 0 1 0 0    0 1 0 3 0 3 0 1 0 0    0 1 0 3 0 1 0 1 0 0    0 1 0 1 0 1 0 2 0 0    0 2 0 1 0 2 0 3 0 0    0 3 0 2 0 3 0 1 0 0    0 1 0 3 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    
    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 3 0 0    0 3 0 1 0 1 0 2 0 0    0 2 0 1 0 1 0 2 0 0    0 2 0 1 0 1 0 2 0 0    0 2 0 1 0 1 0 1 0 0    0 1 0 1 0 2 0 3 0 0    0 3 0 2 0 3 0 3 0 0    0 3 0 3 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 2 0 0    0 2 0 1 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    0 1 0 1 0 2 0 1 0 0    0 1 0 2 0 2 0 1 0 0    0 1 0 2 0 2 0 3 0 0    0 3 0 2 0 3 0 3 0 0    0 3 0 3 0 3 0 3 0 0    0 3 0 3 0 1 0 1 0 0    0 1 0 1 0 2 0 1 0 0    0 1 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 3 0 0    0 3 0 2 0 3 0 2 0 0    0 2 0 3 0 3 0 2 0 0    0 2 0 3 0 3 0 2 0 0    0 2 0 3 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    
    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 3 0 2 0 0    0 2 0 3 0 3 0 2 0 0    0 2 0 3 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 3 0 1 0 0    0 1 0 3 0 3 0 2 0 0    0 2 0 3 0 3 0 3 0 0    0 3 0 3 0 2 0 1 0 0    0 1 0 2 0 2 0 1 0 0    0 1 0 2 0 1 0 1 0 0    0 1 0 1 0 3 0 1 0 0    0 1 0 3 0 3 0 2 0 0    0 2 0 3 0 1 0 1 0 0    0 1 0 1 0 2 0 2 0 0    0 2 0 2 0 3 0 2 0 0    0 2 0 3 0 1 0 2 0 0    0 2 0 1 0 3 0 3 0 0    0 3 0 3 0 2 0 3 0 0    0 3 0 2 0 1 0 1 0 0    0 1 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 3 0 0    0 3 0 2 0 2 0 3 0 0    0 3 0 2 0 2 0 3 0 0    0 3 0 2 0 2 0 2 0 0    0 2 0 2 0 3 0 2 0 0    
    0 1 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 3 0 0    0 3 0 1 0 1 0 3 0 0    0 3 0 1 0 3 0 1 0 0    0 1 0 3 0 3 0 1 0 0    0 1 0 3 0 3 0 1 0 0    0 1 0 3 0 3 0 1 0 0    0 1 0 3 0 3 0 3 0 0    0 3 0 3 0 1 0 3 0 0    0 3 0 1 0 1 0 3 0 0    0 3 0 1 0 1 0 2 0 0    0 2 0 1 0 3 0 2 0 0    0 2 0 3 0 1 0 1 0 0    0 1 0 1 0 1 0 3 0 0    0 3 0 1 0 1 0 3 0 0    0 3 0 1 0 3 0 1 0 0    0 1 0 3 0 3 0 2 0 0    0 2 0 3 0 1 0 3 0 0    0 3 0 1 0 1 0 1 0 0    0 1 0 1 0 1 0 3 0 0    0 3 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 1 0 0    0 1 0 2 0 3 0 2 0 0    0 2 0 3 0 1 0 2 0 0    0 2 0 1 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 2 0 2 0 0    0 2 0 2 0 1 0 3 0 0    


</tiles>

<!-- Some plants. -->
<staticobject name="plant" config="locations/kimen/plant.xml" tilex="10" tiley="5" />
<staticobject name="plant" config="locations/kimen/plant.xml" tilex="3" tiley="2" />
<staticobject name="plant" config="locations/kimen/plant.xml" tilex="5" tiley="11" />
<staticobject name="plant" config="locations/kimen/plant.xml" tilex="22" tiley="4" />
<staticobject name="plant" config="locations/kimen/plant.xml" tilex="16" tiley="14" />
<staticobject name="plant" config="locations/kimen/plant.xml" tilex="27" tiley="13" />
<staticobject name="plant" config="locations/kimen/plant.xml" tilex="12" tiley="12" />

<!-- An irrigation system. -->
<if code="import PartyManager; partyManager=PartyManager.getPartyManager()"
    cond="partyManager.hasRecord('kimen_destroyed_irrigation_2')">
    <staticobject config="locations/kimen/irrigation.xml" name="irrigation" tilex="14" tiley="4" animation="broken" />
</if>
<!-- An irrigation system. -->
<if code="import PartyManager; partyManager=PartyManager.getPartyManager()"
    cond="not partyManager.hasRecord('kimen_destroyed_irrigation_2')">
    <staticobject config="locations/kimen/irrigation.xml" name="irrigation" tilex="14" tiley="4" />
</if>

<!-- Way to plantation1 -->
<area tilex1="28" tilex2="30" tiley1="6" tiley2="10" visible="1" >
import annchienta, PartyManager
partyManager = PartyManager.getPartyManager()
partyManager.changeMap( &quot;locations/kimen/plantation1.xml&quot;, annchienta.Point( annchienta.TilePoint, 3, 13 ) )
</area>

<!-- Way to plantation3 -->
<area tilex1="0" tilex2="2" tiley1="3" tiley2="7" visible="1" >
import annchienta, PartyManager
partyManager = PartyManager.getPartyManager()
partyManager.changeMap( &quot;locations/kimen/plantation3.xml&quot;, annchienta.Point( annchienta.TilePoint, 17, 12 ) )
</area>

</layer>

<onload script="locations/kimen/onload.py" />

</map>
